package com.ruoyi.aslife.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章信息管理对象 article
 * 
 * @author ruoyi
 * @date 2022-12-01
 */
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章编号 */
    private Long aid;

    /** 温州那个标题 */
    @Excel(name = "温州那个标题")
    private String title;

    /** 文章正文 */
    @Excel(name = "文章正文")
    private String text;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long goods;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long uid;

    public void setAid(Long aid) 
    {
        this.aid = aid;
    }

    public Long getAid() 
    {
        return aid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setGoods(Long goods) 
    {
        this.goods = goods;
    }

    public Long getGoods() 
    {
        return goods;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aid", getAid())
            .append("title", getTitle())
            .append("text", getText())
            .append("img", getImg())
            .append("goods", getGoods())
            .append("uid", getUid())
            .toString();
    }
}
